projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c2d0b18
)
(isearch-edit-string): When we set isearch-string
author
Richard M. Stallman
<rms@gnu.org>
Sun, 16 Dec 2001 20:19:13 +0000
(20:19 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Sun, 16 Dec 2001 20:19:13 +0000
(20:19 +0000)
to the default, also set isearch-message.
lisp/isearch.el
patch
|
blob
|
history
diff --git
a/lisp/isearch.el
b/lisp/isearch.el
index 82d3d781d02c9969b95ee38479778d0abb4dabe1..070a6cfd5b382c260317bc3c761c87ba5c1ad5ef 100644
(file)
--- a/
lisp/isearch.el
+++ b/
lisp/isearch.el
@@
-890,7
+890,11
@@
If first char entered is \\[isearch-yank-word], then do word search instead."
(setq isearch-string (or (car (if isearch-regexp
regexp-search-ring
search-ring))
- ""))
+ "")
+
+ isearch-message
+ (mapconcat 'isearch-text-char-description
+ isearch-string ""))
;; This used to set the last search string,
;; but I think it is not right to do that here.
;; Only the string actually used should be saved.